Files
pdm/documentation/api_extracted/EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20~GetTransitionCommentPermissions.html

187 lines
13 KiB
HTML

<html xmlns:mshelp="http://msdn.microsoft.com/mshelp">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<meta content="history" name="save">
<meta content="Innovasys Document! X (http://www.innovasys.com)" name="GENERATOR">
<title>GetTransitionCommentPermissions Method (IEdmVault20)</title>
<link href="stylesheets/dotnet2005.css" type="text/css" rel="stylesheet">
<script src="script/dotnet2005.js" type="text/javascript">
</script><xml>
<MSHelp:Keyword Index="F" Term="EPDM.Interop.epdm.IEdmVault20.GetTransitionCommentPermissions" />
<MSHelp:Attr Name="DevLang" Value="CSharp" />
<MSHelp:Attr Name="DevLang" Value="VB" />
<MSHelp:Attr Name="DevLang" Value="JScript" />
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
<MSHelp:Attr Name="LinkGroup" Value="Help"/>
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
<MSHelp:Attr Name="HelpPriority" Value="1"/>
</xml>
<script src="script/hs-expandcollapse.js" type="text/javascript"></script>
<script src="script/hs-enlargeimage.js" type="text/javascript"></script>
<script src="script/swfobject.js" type="text/javascript"></script>
<script src="script/hs-common.js" type="text/javascript"></script>
<script src="script/hs-heading-expandcollapse.js" type="text/javascript"></script>
<script src="script/hs-tabstrip.js" type="text/javascript"></script>
</head>
<body id="dxBody" topmargin="0">
<form>
<input class="userDataStyle" id="userDataCache" type="hidden" name="userDataCache"> <input id="hiddenScrollOffset" type="hidden" name=
"hiddenScrollOffset"> <img id="collapseImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/collapse.gif"> <img id="expandImage"
style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id="collapseAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px"
src="dotnetimages/collapse.gif"> <img id="expandAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id=
"dropDownImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown.gif"> <img id="dropDownHoverImage" style=
"DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown_orange.gif"> <img id="copyImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src=
"dotnetimages/copycode.gif"> <img id="copyHoverImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/copycodeHighlight.gif">
</form>
<div id="pagetop">
<table id="pagetoptable1" width="100%">
<tbody>
<tr id="pagetoptable1row1">
<td align="left"><span id="projecttitle">SOLIDWORKS PDM Professional API Help</span></td>
<td align="right"><span id="feedbacklink"><a href="mailto:apihelp.feedback@3ds.com?subject=Documentation Feedback: EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20~GetTransitionCommentPermissions.html">Send Feedback</a></span></td>
</tr>
<tr id="pagetoptable1row2">
<td align="left" colspan="2"><span id="pagetitle">GetTransitionCommentPermissions Method (IEdmVault20)</span></td>
</tr>
<tr id="pagetoptable1row3">
<td colspan="2"><a onclick="javascript:openSectionById('seeAlsoSectionHeader');" href="#seealsobookmark">
See Also</a>&nbsp;
</td>
</tr>
</tbody>
</table>
<table id="pagetoptable2" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span id="toggleExpandedAll"><img class="toggleAll" id="toggleExpandedAllImage" src="dotnetimages/collapse.gif"> <label id=
"collapseAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">Collapse All</label> <label id="expandAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">
Expand All</label></span> <span id="languageFilterToolTip"
onmouseover='document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' style="CURSOR: default"
onfocusout='document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;' onclick=
"showBox('dxlanguagemenu',event,document.getElementById('languageFilterImage'))" onfocusin=
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' onmouseout=
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;'><img id="languageFilterImage" src=
"dotnetimages/drpdown.gif"> <label id="showAllLabel" style="DISPLAY: none" for="languageFilterImage">
Language Filter: All</label> <label id="multipleLabel" style=
"DISPLAY: none" for="languageFilterImage">Language Filter: Multiple</label>
<label id="VBLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual Basic</label>
<label id="CSLabel" for="languageFilterImage" style="display: none;">Language Filter: C#</label>
<label id="CPP2005Label" for="languageFilterImage" style="display: none;">Language Filter: C++/CLI</label>
</span></td>
</tr>
</tbody>
</table><table width="100%" id="pagetopbreadcrumbs" cellspacing="0" cellpadding="0"><tr><td>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm_namespace.html">EPDM.Interop.epdm Namespace</a>
> <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20.html">IEdmVault20 Interface</a>
: GetTransitionCommentPermissions Method (IEdmVault20)</td></tr></table>
<div class="dxpopupbubble" id="dxlanguagemenu">
<input id="VBCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="VBCheckbox">
Visual Basic
</label>
<br /><input id="CSCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="CSCheckbox">
C#
</label>
<br /><input id="CPP2005Checkbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="CPP2005Checkbox">
C++/CLI
</label>
</div>
<div id="lUserID_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>lUserID</I></DT>
<DD class="popupbubble">User ID (see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
<div id="poDocIds_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>poDocIds</I></DT>
<DD class="popupbubble">Array of document IDs (see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
<div id="poTransNames_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>poTransNames</I></DT>
<DD class="popupbubble">Array of workfow transition names (see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
</div>
<div id="pagebody" valign="bottom">
<a name="topBookmark"></a>
<div id="mainbody">
<div class="saveHistory" id="allHistory" onsave="saveAll()" onload="loadAll()"></div>
Gets whether the specified user must add a state change comment&nbsp;for&nbsp;the specified workflow transitions for the specified documents.
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="syntaxToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Syntax</span></h1><div id="syntaxSection" class="section" name="collapseableSection"><DIV class=LanguageSpecific id=Syntax_VB><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>Visual Basic</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>Function GetTransitionCommentPermissions( _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="lUserID" href="#" onclick="javascript:showParamBox(event);">lUserID</a></i> As System.Integer, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="poDocIds" href="#" onclick="javascript:showParamBox(event);">poDocIds</a></i>() As System.Integer, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="poTransNames" href="#" onclick="javascript:showParamBox(event);">poTransNames</a></i>() As System.String _
) As System.Boolean()</pre></tr></table></div>
<DIV class=LanguageSpecific id=Syntax_CS><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C#</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>System.bool[] GetTransitionCommentPermissions(
&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lUserID" href="#" onclick="javascript:showParamBox(event);">lUserID</a></i>,
&nbsp;&nbsp;&nbsp;System.int[] <i><a class="parameter" id="poDocIds" href="#" onclick="javascript:showParamBox(event);">poDocIds</a></i>,
&nbsp;&nbsp;&nbsp;System.string[] <i><a class="parameter" id="poTransNames" href="#" onclick="javascript:showParamBox(event);">poTransNames</a></i>
)</pre></tr></table></div>
<DIV class=LanguageSpecific id=Syntax_CPP2005><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C++/CLI</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>System.array&lt;bool&gt;^ GetTransitionCommentPermissions(
&&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lUserID" href="#" onclick="javascript:showParamBox(event);">lUserID</a></i>,
&&nbsp;&nbsp;&nbsp;System.array&lt;int&gt;^ <i><a class="parameter" id="poDocIds" href="#" onclick="javascript:showParamBox(event);">poDocIds</a></i>,
&&nbsp;&nbsp;&nbsp;System.array&lt;String^&gt;^ <i><a class="parameter" id="poTransNames" href="#" onclick="javascript:showParamBox(event);">poTransNames</a></i>
) </pre></tr></table></div>
<h4 class=dxh4>Parameters</h4><DL><DT><I>lUserID</I></DT>
<DD>User ID (see <STRONG>Remarks</STRONG>)</DD><DT><I>poDocIds</I></DT>
<DD>Array of document IDs (see <STRONG>Remarks</STRONG>)</DD><DT><I>poTransNames</I></DT>
<DD>Array of workfow transition names (see <STRONG>Remarks</STRONG>)</DD></DL>
<h4 class=dxh4>Return Value</h4>Array of booleans (see <STRONG>Remarks</STRONG>)</div>
<a name="exampleBookmark"></a>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="exampleToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Example</span></h1><div id="exampleSection" class="section" name="collapseableSection">See the&nbsp;<A href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20.html">IEdmVault20</A> examples.
</div>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="remarksToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Remarks</span></h1><div id="remarksSection" class="section" name="collapseableSection"><P>The returned one-dimensional array contains (<EM>n</EM> * <EM>m</EM>) booleans indicating whether lUserID must add a state change comment on&nbsp;each workflow transition in poTransNames for each document in poDocIds.&nbsp;</P>
<P>For:</P>
<UL>
<LI><EM>n</EM> = size of poDocIds
<LI><EM>m</EM> = size of poTransNames
<LI><EM>permbool_*</EM> = true or false</LI></UL>
<P>the returned array follows the order of elements in poDocIds and poTransNames as follows:</P>
<P>{</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <EM>permbool_poDocIds(0)_poTransNames(0)</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permbool_poDocIds(0)_poTransNames(m-1)</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permbool_poDocIds(1)_poTransNames(0)</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permbool_poDocIds(1)_poTransNames(m-1)</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permbool_poDocIds(n-1)_poTransNames(0)</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</EM></P>
<P><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permbool_poDocIds(n-1)_poTransNames(m-1)</EM></P>
<P>}</P></div>&nbsp;
<a name="seealsobookmark"></a>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="seealsoToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>See Also</span></h1><div id="seealsoSection" class="section" name="collapseableSection"><h4 class="dxh4"></h4><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20.html">IEdmVault20 Interface</a>
<br/><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault20_members.html">IEdmVault20 Members</a>
</p>
</div>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="availabilityToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Availability</span></h1><div id="availabilitySection" class="section" name="collapseableSection">SOLIDWORKS PDM Professional 2019</div>
</div>
<div id="pagefooter"></div>
</div>
</body>
</html>