Method | Description | |
---|---|---|
GetParameters ( WebControl control ) : |
Provides a NameValueCollection of Parameters listed in the Webcontrol and Sublayout Data Template. Takes the Parameter string Field and Separates it out as such. Title=Some Title Subtitle=Some SubTitle Something=Else Takes this, splits it out for each line, then adds to the collection. The above creates: {'Title'=>'Some Title','Subtitle'=>'Some SubTitle','Something'=>'Else'} This overload assumes that the Parameters are separated by line and the key/value pairs are delimited by an equal sign (=).
|
|
GetParameters ( WebControl control, char delimiters, char keyPairDelimiter ) : |
Provides a NameValueCollection of Parameters listed in the Webcontrol and Sublayout Data Template. Takes the Parameter string Field and Separates it out as such. Title=Some Title Subtitle=Some SubTitle Something=Else Takes this, splits it out for each line, then adds to the collection. The above creates: {'Title'=>'Some Title','Subtitle'=>'Some SubTitle','Something'=>'Else'}
|
public static GetParameters ( WebControl control ) : |
||
control | WebControl | The WebControl object, usually 'this' will work. |
return |
public static GetParameters ( WebControl control, char delimiters, char keyPairDelimiter ) : |
||
control | WebControl | The WebControl object, usually 'this' will work. |
delimiters | char | char[] of parameter delimiters |
keyPairDelimiter | char | delimiter of key/value pair separator |
return |