IVsProject4.GenerateUniqueItemName Method (UInt32, String, String, String%)
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaración
Function GenerateUniqueItemName ( _
itemidLoc As UInteger, _
pszExt As String, _
pszSuggestedRoot As String, _
<OutAttribute> ByRef pbstrItemName As String _
) As Integer
'Uso
Dim instance As IVsProject4
Dim itemidLoc As UInteger
Dim pszExt As String
Dim pszSuggestedRoot As String
Dim pbstrItemName As String
Dim returnValue As Integer
returnValue = instance.GenerateUniqueItemName(itemidLoc, _
pszExt, pszSuggestedRoot, pbstrItemName)
int GenerateUniqueItemName(
uint itemidLoc,
string pszExt,
string pszSuggestedRoot,
out string pbstrItemName
)
int GenerateUniqueItemName(
[InAttribute] unsigned int itemidLoc,
[InAttribute] String^ pszExt,
[InAttribute] String^ pszSuggestedRoot,
[OutAttribute] String^% pbstrItemName
)
abstract GenerateUniqueItemName :
itemidLoc:uint32 *
pszExt:string *
pszSuggestedRoot:string *
pbstrItemName:string byref -> int
function GenerateUniqueItemName(
itemidLoc : uint,
pszExt : String,
pszSuggestedRoot : String,
pbstrItemName : String
) : int
Parameters
- itemidLoc
Type: System.UInt32
- pszExt
Type: System.String
- pszSuggestedRoot
Type: System.String
- pbstrItemName
Type: System.String%
Return Value
Type: System.Int32
Implements
IVsProject3.GenerateUniqueItemName(UInt32, String, String, String%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.