共用方式為


VCFileCodeModel.ValidateMemberName 方法

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
Function ValidateMemberName ( _
    bstrName As String, _
    Kind As vsCMElement, _
    nvo As vcCMNameValidationOption _
) As Boolean
bool ValidateMemberName(
    string bstrName,
    vsCMElement Kind,
    vcCMNameValidationOption nvo
)
bool ValidateMemberName(
    [InAttribute] String^ bstrName, 
    [InAttribute] vsCMElement Kind, 
    [InAttribute] vcCMNameValidationOption nvo
)
abstract ValidateMemberName : 
        bstrName:string * 
        Kind:vsCMElement * 
        nvo:vcCMNameValidationOption -> bool 
function ValidateMemberName(
    bstrName : String, 
    Kind : vsCMElement, 
    nvo : vcCMNameValidationOption
) : boolean

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

VCFileCodeModel 介面

Microsoft.VisualStudio.VCCodeModel 命名空間