ImageHelper.TryParseIconLocation Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function TryParseIconLocation ( _
resource As String, _
<OutAttribute> ByRef filename As String, _
<OutAttribute> ByRef index As Integer _
) As Boolean
public static bool TryParseIconLocation(
string resource,
out string filename,
out int index
)
public:
static bool TryParseIconLocation(
String^ resource,
[OutAttribute] String^% filename,
[OutAttribute] int% index
)
static member TryParseIconLocation :
resource:string *
filename:string byref *
index:int byref -> bool
public static function TryParseIconLocation(
resource : String,
filename : String,
index : int
) : boolean
Parameters
- resource
Type: System.String
- filename
Type: System.String%
- index
Type: System.Int32%
Return Value
Type: System.Boolean
.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.